function evaluateAllFormula(){
    var inputElements = document.getElementsByTagName("input");
    
    //iterate over elements:
    for (var i = 0; i < inputElements.length; i++) {
        var element = inputElements[i];
        if (element.type=="hidden"){
			eval(element.value);
		}
    }
        
}
